package testSpring;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//@Service
@Component
public class GreetImpl implements Greet
{
	
	private String greet;

	public void sayGreet() 
	{
		System.out.println(greet);
	}

	public String getGreet() {
		return greet;
	}

	public void setGreet(String greet) {
		this.greet = greet;
	}

}
